package com.xmb.common.service;

import com.xmb.common.entity.XmbUserBalanceBlotter;
import com.xmb.common.entity.reward.ActivityRanking;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by lyndon on 2019/4/10.
 * 用户余额流水
 */
public interface UserBalanceService {

    BigDecimal getTotalBalance(Long uid);

    int saveBalanceBlotter(XmbUserBalanceBlotter record);

    List<XmbUserBalanceBlotter> getBalanceList(Long userId,Long typeId,String exchangeType);

    List<ActivityRanking> getBalanceRanking(Long typeId);

    ActivityRanking getCurrentUserActivityRewardRanking(Long activityId,Long userId);
}
